package com.ruoyi.his.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

/**
 * newregistration对象 new_his_registration
 * 
 * @author ruoyi
 * @date 2025-03-25
 */
public class    NewHisRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 挂号ID */
    private Long registrationId;

    /** 患者ID */
    @Excel(name = "患者ID")
    private Long registrationPatientId;

    /** 挂号日期 */
    @Excel(name = "排班日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate registrationSchedule;

    /** 状态（ 1待就诊 2就诊完成  4就诊中） */
    @Excel(name = "状态", readConverterExp = ",1=待就诊,2=就诊完成,4=就诊中")
    private String registrationStatus;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String registrationPatientName;

    /** 挂号科室ID
 */
    @Excel(name = "挂号科室ID ")
    private Long registrationDeptId;

    /** 挂号医生ID */
    @Excel(name = "挂号医生ID")
    private Long registrationDoctorId;

    /** 挂号医生姓名 */
    @Excel(name = "挂号医生姓名")
    private String registrationDoctorName;

    public String getRegistrationQueue() {
        return registrationQueue;
    }

    public void setRegistrationQueue(String registrationQueue) {
        this.registrationQueue = registrationQueue;
    }

    /** 挂号队列 号*/
    private String registrationQueue;

    public Long getTreatId() {
        return treatId;
    }

    public void setTreatId(Long treatId) {
        this.treatId = treatId;
    }

    //病例ID
    private Long  treatId;

    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setRegistrationPatientId(Long registrationPatientId) 
    {
        this.registrationPatientId = registrationPatientId;
    }

    public Long getRegistrationPatientId()
    {
        return registrationPatientId;
    }
    public void setRegistrationSchedule(LocalDate registrationSchedule)
    {
        this.registrationSchedule = registrationSchedule;
    }

    public LocalDate getRegistrationSchedule()
    {
        return registrationSchedule;
    }
    public void setRegistrationStatus(String registrationStatus) 
    {
        this.registrationStatus = registrationStatus;
    }

    public String getRegistrationStatus() 
    {
        return registrationStatus;
    }
    public void setRegistrationPatientName(String registrationPatientName) 
    {
        this.registrationPatientName = registrationPatientName;
    }

    public String getRegistrationPatientName() 
    {
        return registrationPatientName;
    }
    public void setRegistrationDeptId(Long registrationDeptId) 
    {
        this.registrationDeptId = registrationDeptId;
    }

    public Long getRegistrationDeptId() 
    {
        return registrationDeptId;
    }
    public void setRegistrationDoctorId(Long registrationDoctorId) 
    {
        this.registrationDoctorId = registrationDoctorId;
    }

    public Long getRegistrationDoctorId() 
    {
        return registrationDoctorId;
    }
    public void setRegistrationDoctorName(String registrationDoctorName) 
    {
        this.registrationDoctorName = registrationDoctorName;
    }

    public String getRegistrationDoctorName() 
    {
        return registrationDoctorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("registrationId", getRegistrationId())
            .append("registrationPatientId", getRegistrationPatientId())
            .append("registrationSchedule", getRegistrationSchedule())
            .append("registrationStatus", getRegistrationStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("registrationPatientName", getRegistrationPatientName())
            .append("registrationDeptId", getRegistrationDeptId())
            .append("registrationDoctorId", getRegistrationDoctorId())
            .append("registrationDoctorName", getRegistrationDoctorName())
            .toString();
    }
}
